package factoryMethodPattern.ballPen;

import factoryMethodPattern.Pen.PenCore;
import factoryMethodPattern.Pen.RedPenCore;

/**
 * @program: course
 * @author: lsn
 * @create: 2024-03-24 20:55
 * @description: 红色圆珠笔的具体实现
 */
public class RedBallPen extends BallPen{
    @Override
    public PenCore getPenCore() {
        return new RedPenCore();
    }
}

